package net.siufung.boot.swagger.properties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName: SwaggerProperties
 * @author SIUFUNG
 */
@Data
@ApiModel("Swagger配置实体")
@ConfigurationProperties(prefix=SwaggerProperties.SWAGGER_PREFIX)
public class SwaggerProperties {

    public static final String SWAGGER_PREFIX = "siufung.swagger";

    @ApiModelProperty("是否启用")
    private boolean enable = false;
    @ApiModelProperty("标题")
    private String title="Swagger Api Doc";
    @ApiModelProperty("描述")
    private String description="";
    @ApiModelProperty("服务链接")
    private String termsOfServiceUrl="https://siufung.net";
    @ApiModelProperty("联系人")
    private String contact="SIUFUNG";
    @ApiModelProperty("联系人邮箱")
    private String email="chenjianfeng@haier.com";
    @ApiModelProperty("版本号")
    private String version="2.0.0";
    @ApiModelProperty("测试的Host")
    private String host="";
    @ApiModelProperty("扫描包")
    private String basePackage;
    @ApiModelProperty("请求头")
    private String tokenHeader="Authorization";


}
